import request from '@/utils/request'

export function getList(params) {
  return request({
    url: '/vue-admin-template/table/list',
    method: 'get',
    params
  })
}
export function userList(dateRanges) {
  return request({
    url: 'https://www.tyschool.com:8000/b/operate/get_new_user?start_date='+dateRanges[0]+'&end_date='+dateRanges[1],
    method: 'GET',
  })
}
export function PendingReview(audit_status) {
  return request({
    url: 'https://www.tyschool.com:8000/b/operate/audit_info',
    method: 'GET',
    params:{audit_status}
  })
}
export function editAudit(data) {
  return request({
    url: 'https://www.tyschool.com:8000/b/operate/edit_audit',
    method: 'PUT',
    data
  })
}
